<p>Update Bus</p>


<section class="content">
                    <div class="row">
                        <div class="col-xs-12">
                            <div class="box">
                                <div class="box-header">
                                    <h3 class="box-title">Update Informasi Bus</h3>
                                     <a href="bus.php?action=tambah" class="btn btn-info"style="margin-top:5px;">tambah</a>
                                </div><!-- /.box-header -->
                                </div><!-- /.box-header -->
                                <div class="box-body table-responsive">
                                    <table id="example2" class="table table-bordered table-hover">
                                        <thead>
                                            <tr>
                                                <th>No Bus</th>
                                                <th>No Polisi</th>
                                                <th>Nama Mesin</th>
                                                <th>Nama Body</th>
                                                <th>No Mesin</th>
                                                <th>No Rangka</th>
                                                <th>Kode Kelas</th>
                                                <th>Keterangan</th>
                                            </tr>
                                        </thead>
                                        <tbody>
                                        	{foreach from=$data item=bus}
                                        	<tr>
                                        		<td>{$bus.no_bus}</td>
                                                <td>{$bus.no_polisi}</td>
                                                <td>{$bus.nama_mesin}</td>
                                                <td>{$bus.nama_body}</td>
                                                <td>{$bus.no_mesin}</td>
                                                <td>{$bus.no_rangka}</td>
                                                <td>{$bus.kode_kelas}</td>
                                                <td>{$bus.keterangan}</td>

                                                 <td><a href="bus.php?action=edit&id={$bus.no_bus}"><span class="glyphicon glyphicon-edit"></span> Edit</button>
                                                 <!--<button class="btn btn-info">tambah</button>-->
                                                  <a href="bus.php?action=delete&id={$bus.no_bus}"><span class="glyphicon glyphicon-trash"></span> hapus</a></td>
                                        		
                                        		 <!--td><button class="btn btn-success">Edit</button><button class="btn btn-info">tambah</button> <button class="btn btn-danger">hapus</button></td-->
                                           	</tr>
                                        	{/foreach}
                                        </tbody>
                                     </table>
                                </div><!-- /.box-body -->
                            </div><!-- /.box -->

                           
                        </div>
                    </div>

                </section>